St.DrawingArea emits the `repaint` signal on style changes, so
if we chain up first, drawing still happens with the previously
cached values.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3376>
}
vfunc_style_changed() {
- super.vfunc_style_changed();
-
const themeNode = this.get_theme_node();
this._barLevelHeight = themeNode.get_length('-barlevel-height');
this._overdriveSeparatorWidth =
this._barLevelColor = themeNode.get_color('-barlevel-background-color');
this._barLevelActiveColor = themeNode.get_color('-barlevel-active-background-color');
this._barLevelOverdriveColor = themeNode.get_color('-barlevel-overdrive-color');
+
+ super.vfunc_style_changed();
}
vfunc_repaint() {